package pannel.cart;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Cart {
    private Integer id;
    private Integer userId;
    private Integer productId;
    private Integer quantity;
    
    // 非数据库字段,用于显示
    private String productName;
    private Double productPrice;
    private String productImage;
    private Double totalPrice; // 单个商品总价
} 